﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.SharePoint;
using Truextend.CoffeShop.Model;

namespace Truextend.CoffeShop.Bussiness.Interfaces
{
    public interface IOrderManager
    {
        IList<Order> GetOrdersForState(string state);
        void AddOrder(Order order, IList<int> listProductsId);
        Order GetLastOrder();
        Order GetOrderById(int orderId);
        void ChangeStateOfAnOrder(Order order, string state);
        void DeleteOrder(Order order);
        void CloseOrderReception(List<string> allEmails);
        void StartOrderReception(List<string> allEmails);
    }
}
